//
//  TimeSegSettingViewController.h
//  test
//
//  Created by 刘杨 on 14-10-13.
//  Copyright (c) 2014年 刘杨. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TimeSegSettingViewController : UIViewController{
    IBOutlet UILabel * positionLable;
    IBOutlet UIButton * time0;
    IBOutlet UIButton * time1;
    IBOutlet UIButton * time2;
    IBOutlet UIButton * time3;
    IBOutlet UIButton * time4;
    IBOutlet UIButton * time5;
    
    IBOutlet UIButton * time6;
    IBOutlet UIButton * time7;
    IBOutlet UIButton * time8;
    IBOutlet UIButton * time9;
    IBOutlet UIButton * time10;
    IBOutlet UIButton * time11;
    
    IBOutlet UIButton * time12;
    IBOutlet UIButton * time13;
    IBOutlet UIButton * time14;
    IBOutlet UIButton * time15;
    IBOutlet UIButton * time16;
    IBOutlet UIButton * time17;
    
    IBOutlet UIButton * time18;
    IBOutlet UIButton * time19;
    IBOutlet UIButton * time20;
    IBOutlet UIButton * time21;
    IBOutlet UIButton * time22;
    IBOutlet UIButton * time23;
    
    CGFloat originalRedValue;
    CGFloat originalGreenValue;
    CGFloat originalBlueValue;
    
    CGFloat selectedRedValue;
    CGFloat selectedGreenValue;
    CGFloat selectedBlueValue;
    
    IBOutlet UIButton * updateButton;
}
@property (nonatomic,retain) UILabel * positionLable;
@property (nonatomic,retain)  UIButton * time0;
@property (nonatomic,retain)  UIButton * time1;
@property (nonatomic,retain)  UIButton * time2;
@property (nonatomic,retain)  UIButton * time3;
@property (nonatomic,retain)  UIButton * time4;
@property (nonatomic,retain)  UIButton * time5;

@property (nonatomic,retain)  UIButton * time6;
@property (nonatomic,retain)  UIButton * time7;
@property (nonatomic,retain)  UIButton * time8;
@property (nonatomic,retain)  UIButton * time9;
@property (nonatomic,retain)  UIButton * time10;
@property (nonatomic,retain)  UIButton * time11;

@property (nonatomic,retain)  UIButton * time12;
@property (nonatomic,retain)  UIButton * time13;
@property (nonatomic,retain)  UIButton * time14;
@property (nonatomic,retain)  UIButton * time15;
@property (nonatomic,retain)  UIButton * time16;
@property (nonatomic,retain)  UIButton * time17;

@property (nonatomic,retain)  UIButton * time18;
@property (nonatomic,retain)  UIButton * time19;
@property (nonatomic,retain)  UIButton * time20;
@property (nonatomic,retain)  UIButton * time21;
@property (nonatomic,retain)  UIButton * time22;
@property (nonatomic,retain)  UIButton * time23;

@property (nonatomic,retain) UIButton * updateButton;

- (IBAction)onWeekDayClick:(id)sender;
- (IBAction)onHourClick:(id)sender;
@end
